package com.sina.shop.event;

import org.springframework.context.ApplicationEvent;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 段浩杰   2018-01-08-11:30
 */
public class TestAsyncEvent extends SinaEvent {

    private final Integer userId;

    public TestAsyncEvent(Object source, Boolean isAsync, Integer userId) {
        super(source, isAsync);
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }
}
